package org.peerjs.message;

import java.util.HashMap;

public class SdpMessage extends HashMap<String, String> {

    public int getAsInt(String key) {
        String vl = get(key);
        try {
            if (vl != null) {
                return Integer.parseInt(vl);
            }
        } catch (Exception e) {
            return 0;
        }
        return 0;
    }
}
